package cn.iocoder.yudao.module.project.config;


public interface projectDefine {
    /**
     * 默认一些初始值
     */
    interface DEFAULT_NUM {
        //0
        public static final Integer DEFAULT_NUM_0 = 0;
        public static final Long DEFAULT_NUM_0L = 0L;
        //1
        public static final Integer DEFAULT_NUM_1 = 1;
        public static final Long DEFAULT_NUM_1L = 1L;
    }

    /**
     * 启用/禁用
     */
    interface STATUS {
        //启用
        public static final Integer STATUS_1 = 1;
        public static final String STATUS_1S = "1";

        //禁用
        public static final Integer STATUS_0 = 0;
        public static final String STATUS_0S = "0";
    }

    /**
     * 用户激活状态
     */
    interface USER_ACTIVATE_STATUS {
        //未激活
        public static final Boolean USER_ACTIVATE_STATUS_0 = false;

        //激活
        public static final Boolean USER_ACTIVATE_STATUS_1 = true;
    }

    /**
     * 管理员角色
     */
    interface ADMIN_ROLE {
        //超级管理员
        public static final Long ADMIN_ROLE_1 = 1L;

        //系统管理员
        public static final Long ADMIN_ROLE_2 = 3L;
    }
    /**
     * 订单状态
     */
    interface ORDER_STATUS {
        //未开始
        public static final String ORDER_STATUS_0 = "0";

        //已完成
        public static final String ORDER_STATUS_1 = "1";

        //执行中
        public static final String ORDER_STATUS_2 = "2";

        //部分结束
        public static final String ORDER_STATUS_3 = "3";
    }

    /**
     * 重量状态
     */
    interface WEIGHT_STATUS {
        //正常
        public static final Integer WEIGHT_STATUS_0 = 0;
        public static final String WEIGHT_STATUS_0S = "正常";

        //过轻
        public static final Integer WEIGHT_STATUS_1 = 1;
        public static final String WEIGHT_STATUS_1S = "过轻";

        //过重
        public static final Integer WEIGHT_STATUS_2 = 2;
        public static final String WEIGHT_STATUS_2S = "过重";
    }

    /**
     * pda提交状态
     */
    interface SUBMIT_STATUS {
        //未提交
        public static final String SUBMIT_STATUS_0 = "0";

        //已提交
        public static final String SUBMIT_STATUS_1 = "1";

    }

    /**
     * 物料出库审核状态
     */
    interface MATERIAL_STATUS {
        //未审核
        public static final String MATERIAL_STATUS_0 = "0";

        //审核通过
        public static final String MATERIAL_STATUS_1 = "1";

        //待审核
        public static final String MATERIAL_STATUS_2 = "2";
    }

    /**
     * 服务器返回码
     */
    interface HTTP_STATUS {
        //错误码
        public static final Integer ERROR_STATUS = 502;

        //成功码
        public static final Integer ERROR_STATUS_EXISTS = 599;

        public static final Integer ERROR_STATUS_LOGOUT = 401;
    }

    /**
     * 生产订单模板类型
     */
    interface ORDER_TYPE {
        //批量模板标准
        public static final String ORDER_TYPE_1 = "1";
        public static final String ORDER_TYPE_1S = "批量模板标准";

        //批量模板自定义
        public static final String ORDER_TYPE_2 = "2";
        public static final String ORDER_TYPE_2S = "批量模板自定义";

        //选手标准模板
        public static final String ORDER_TYPE_3 = "3";
        public static final String ORDER_TYPE_3S = "选手标准模板";

        //选手自定义模板
        public static final String ORDER_TYPE_4 = "4";
        public static final String ORDER_TYPE_4S = "选手自定义模板";

        //选手自定义模板2
        public static final String ORDER_TYPE_5 = "5";
        public static final String ORDER_TYPE_5S = "选手自定义模板2";

        //选手自定义模板2
        public static final String ORDER_TYPE_6 = "6";
        public static final String ORDER_TYPE_6S = "组合模版";

    }

    /**
     * 单个订单生成的领料单初始序列号
     */
    interface SERIAL_STR {
        //错误码
        public static final String SERIAL_NUMBER_INIT = "00000000";
    }

}
